<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<style>
    .font-bold{
        font-size: 14px;
        margin: 20px 0;
    }
    .font-bold {
        font-size: 14px;
        margin: 20px 0;
    }

    tr {
        border: 1px solid #999
    }

    td {
        padding: 10px;
        border-right: 1px solid #999
    }
</style>
<body class="gray-bg">
<div class="row">
    <div class="col-sm-5">
        <div class="wrapper wrapper-content project-manager">
            <h3>机构名称：<label th:text="${organizationNews.name}"></label></h3>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    机构类型：<label th:if="${organizationNews.type==0}">机构</label>
                    <label th:if="${organizationNews.type==1}">机关</label>
                    <label th:if="${organizationNews.type==2}">事业单位</label>
                    <label th:if="${organizationNews.type==3}">社会团体</label>
                    <label th:if="${organizationNews.type==4}">其它组织机构</label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    考点编号：<label th:text="${organizationNews.orgNum}"></label></span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    机构代码：<label th:text="${organizationNews.orgCode}"></label></span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    法人代表：<label th:text="${organizationNews.legalRepresentative}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    所属行业：<label th:text="${organizationNews.industry}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    机构所属省份：<label th:text="${organizationNews.province}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    机构地址：<label th:text="${organizationNews.address}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    机构规模：<label th:text="${organizationNews.orgSize}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    机构logo：<img style="width: 200px" th:src="${organizationNews.orgPhoto}" />
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    机构特色：<label th:text="${organizationNews.orgItem}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    员工规模：<label th:text="${organizationNews.staffSize}"></label>
                </span>
            </p>
            <p class=" font-bold">
            <span><i class="fa fa-circle text-success"></i>
                    负责人：<label th:text="${organizationNews.leadingCadreName}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    联系人：<label th:text="${organizationNews.contacts}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    联系人职务：<label th:text="${organizationNews.contactsPost}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    联系电话：<label th:text="${organizationNews.mobile}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    招聘邮箱：<label th:text="${organizationNews.mailbox}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    官网地址：<label th:text="${organizationNews.url}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    师资力量：<label th:text="${organizationNews.teacherResources}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    企业介绍：<label th:text="${organizationNews.introduce}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    员工学历层次：<label th:text="${organizationNews.staffArrangement}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    培训工种：<label th:text="${organizationNews.trainingJobs}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    培训层次：<label th:text="${organizationNews.trainingArrangement}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    培训人数：<label th:text="${organizationNews.trainingPerson}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    营业范围：<label th:text="${organizationNews.scopeOfBusiness}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    创建人：<label th:text="${organizationNews.createrName}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                        创建时间：<label th:text="${organizationNews.createrDate} eq null ? '' : ${#dates.format(organizationNews.createrDate, 'yyyy-MM-dd HH:mm:ss')}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    修改人：<label th:text="${organizationNews.updaterName}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                     修改时间：<label th:text="${organizationNews.updateDate} eq null ? '' : ${#dates.format(organizationNews.updateDate, 'yyyy-MM-dd HH:mm:ss')}"></label>
                </span>
            </p>
        </div>
    </div>
    <div class="col-sm-5">
        <div class="wrapper wrapper-content animated fadeInUp">
            <p class=" font-bold">
                <span><i class="fa fa-circle text-warning"></i>
                    审核状态：
                    <span th:if="${organizationNews.state==0}" class="label label-success">正常</span>
                    <span th:if="${organizationNews.state==9}" class="label label-default">已删除</span>
                </span>
            </p>
            <p class=" font-bold">
                  <span><i class="fa fa-circle text-success"></i>
                    学校性质：
                    <span th:if="${organizationNews.schoolNature==0}" class="label">中职</span>
                    <span th:if="${organizationNews.schoolNature==1}" class="label">高职</span>
                      <span th:if="${organizationNews.schoolNature==2}" class="label">本科</span>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    已批准的考核计划（人）：<label th:text="${organizationNews.numberOfExaminees}"></label>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    印章：<img style="width: 200px" th:src="${organizationNews.cachet}" />
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    考评团队：
                      <input id="teamTxt" type="hidden" th:value="${organizationNews.team}"/>
                      <table id="team"></table>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    考评场地设备：
                       <input id="equipmentTxt" type="hidden" th:value="${organizationNews.equipment}"/>
                      <table id="equipment"></table>
                </span>
            </p>
            <p class=" font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    实习就业单位：
                     <input id="employerTxt" type="hidden" th:value="${organizationNews.employer}"/>
                      <table id="employer"></table>
                </span>
            </p>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script src="//s.xlongwei.com/res/js/My97DatePicker/WdatePicker.js"></script>
<script>
    //考评团队
    getTeam();
    //考评场地设备
    getEquipment();
    //实习就业单位
    getEmployer();

    function getTeam() {
        var teamTxt = JSON.parse($("#teamTxt").val());
        var a = '<tr><td>序号</td><td>姓名</td><td>职称</td><td>职务</td><td>考评岗位</td><td>联系电话</td><td>备注</td></tr>';
        for (var i = 0; i < teamTxt.length; i++) {
            a += '<tr><td>' + parseInt(i + 1) + '</td><td>' + teamTxt[i].khName + '</td><td>' + teamTxt[i].jobName + '</td><td>' + teamTxt[i].position + '</td>' +
                '<td>' + teamTxt[i].kpPost + '</td><td>' + teamTxt[i].kpMobile + '</td><td>' + teamTxt[i].kpRemark + '</td></tr>'
        }
        $("#team").html(a)
    }

    function getEquipment() {
        var equipmentTxt = JSON.parse($("#equipmentTxt").val());
        var a = '<tr><td>序号</td><td>场地</td><td>位置</td><td>设备及设施</td><td>说明</td></tr>';
        for (var i = 0; i < equipmentTxt.length; i++) {
            a += '<tr><td>' + parseInt(i + 1) + '</td><td>' + equipmentTxt[i].kpSite + '</td>' +
                '<td>' + equipmentTxt[i].college + '学院' + equipmentTxt[i].ridgepole + '栋' + equipmentTxt[i].classroomNum + '号</td>' +
                '<td>' + equipmentTxt[i].equiAndFacility + '</td><td>' + equipmentTxt[i].equiAndFacility + '</td></tr>'
        }
        $("#equipment").html(a)
    }

    function getEmployer() {
        var employerTxt = JSON.parse($("#employerTxt").val());
        var a = '<tr><td>序号</td><td>单位名称</td><td>单位负责人</td><td>联系电话</td><td>实习就业负责人</td><td>联系电话</td><td>拟招聘人数(人)</td><td>拟招聘岗位</td><td>薪酬(元)</td></tr>';
        for (var i = 0; i < employerTxt.length; i++) {
            a += '<tr><td>' + parseInt(i + 1) + '</td><td>' + employerTxt[i].dwName + '</td><td>' + employerTxt[i].dwUser + '</td><td>' + employerTxt[i].dwMobile + '</td>' +
                '<td>' + employerTxt[i].jyUser + '</td><td>' + employerTxt[i].jyMobile + '</td><td>' + employerTxt[i].zpNum + '</td>' +
                '<td>' + employerTxt[i].zpPost + '</td><td>' + employerTxt[i].emolument + '</td></tr>'
        }
        $("#employer").html(a)
    }

</script>
</body>
</html>
